<template>
    <!-- 开关 -->
    <el-switch size="small" v-model="darkStore.isDark" />
    <!-- 按钮 -->
    <!-- <el-button type="primary" :icon="Sunny" @click="darkStore.toggleDark()">
        {{ darkStore.comment() }}
    </el-button> -->
</template>

<script setup lang="ts">
import { Sunny } from "@element-plus/icons-vue";
import { useDarkStore } from "@/store";
const darkStore = useDarkStore();
</script>
